package com.wn.cleandemo.junk;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public class JunkType {
    @IntDef(flag = true, value = {
            Type.J_Other,
            Type.J_AD,
            Type.J_Log,
            Type.J_Temp,
            Type.J_Residual,
            Type.J_Cache,
            Type.J_Apks,
            Type.J_BigFile,
            Type.J_SYSTEM_CACHE,
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface Type {
        int J_Other = 0;
        int J_SYSTEM_CACHE = 100;//系统垃圾（暂时是伪装的）
        int J_AD = 1001;//广告垃圾
        int J_Log = 1002;//日志文件 1
        int J_Temp = 1003;//临时文件 1
        int J_Residual = 1004;//应用卸载残留 1
        int J_Cache = 1005;//应用缓存
        int J_Apks = 1006;//安装包 1
        int J_BigFile = 1007;//大文件 1
    }

    @IntDef(flag = true, value = {
            BigFileType.J_Other,
            BigFileType.J_AUDIO,
            BigFileType.J_IMAGE,
            BigFileType.J_VIDEO,
            BigFileType.J_DOC,
            BigFileType.J_APK,
            BigFileType.J_ZIP,
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface BigFileType {
        int J_Other = 0;
        int J_AUDIO = 101;//
        int J_IMAGE = 102;//
        int J_VIDEO = 103;//
        int J_DOC = 104;//
        int J_APK = 105;//
        int J_ZIP = 106;//
    }
}
